package com.carcenter.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author car
 * @since 2025-07-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
  @TableName("order_info")
@ApiModel(value = "OrderInfo对象", description = "")
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String orderNum;

    private String paymentMethod;

    private String orderSource;

    private BigDecimal payableAmount;

    private BigDecimal discountAmount;

    private BigDecimal actualPayment;

    private LocalDateTime orderTime;

    private String orderType;

    private Integer appointmentId;


}
